home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch11
/
11fig04.wrl
< prev
Wrap
Text File
|
1996-09-22
|
1KB
|
58 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright 1997 By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
children [
# Translated Shape
Transform {
translation 20.0 0.0 0.0
bboxCenter 0.0 0.0 0.0
bboxSize 25.0 25.0 25.0
children [
DEF Widest Shape {
appearance Appearance {
material Material {
diffuseColor 0.0 1.0 0.0
}
}
geometry Box {
size 25.0 2.0 2.0
}
},
DEF Tallest Shape {
appearance Appearance {
material Material {
diffuseColor 1.0 1.0 0.0
}
}
geometry Box {
size 2.0 25.0 2.0
}
},
DEF Deepest Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 1.0 0.0
}
}
geometry Box {
size 2.0 2.0 25.0
}
}
]
},
# Rotated Shape
Transform {
rotation 0.0 1.0 0.0 0.785
bboxCenter 0.0 0.0 0.0
bboxSize 25.0 25.0 25.0
children [
USE Widest,
USE Tallest,
USE Deepest
]
}
]
}